package vcp.client.statistics;

import javax.swing.JPanel;

import vcp.client.interfaces.IVisitor;

public class PerformanceStatistics extends StatisticsAbstract
{
	/**
	 * 
	 */
	private static final long serialVersionUID = - 1277787637735206618L;

	// ****************************************************************************************************************************
	// Setter-Getter methods
	// ****************************************************************************************************************************
	private int numOrderAhead;

	public int getNumOrderAhead ()
	{
		return this.numOrderAhead;
	}

	private int numCasual;

	public int getNumCasual ()
	{
		return this.numCasual;
	}

	private int numBusinessCasual;

	public int getNumBusinessCasual ()
	{
		return this.numBusinessCasual;
	}

	private int numFull;

	public int getNumFull ()
	{
		return this.numFull;
	}

	private int numBusinessFull;

	public int getNumBusinessFull ()
	{
		return this.numBusinessFull;
	}

	// ****************************************************************************************************************************
	// Public methods
	// ****************************************************************************************************************************
	public void add ( int numOrderAhead, int numCasual, int numBusinessCasual, int numFull, int numBusinessFull )
	{
		this.numOrderAhead = numOrderAhead;
		this.numCasual = numCasual;
		this.numBusinessCasual = numBusinessCasual;
		this.numFull = numFull;
		this.numBusinessFull = numBusinessFull;
	}

	/**
	 * 
	 * @return Order Ahead Title
	 */
	public String getOrderAheadTitle ()
	{
		return "Order Ahead";
	}

	/**
	 * 
	 * @return Casual Title
	 */
	public String getCasualTitle ()
	{
		return "Casual Sub.";
	}

	/**
	 * 
	 * @return Business Casual Title
	 */
	public String getBusinessCasualTitle ()
	{
		return "Business Casual Sub.";
	}

	/**
	 * 
	 * @return Full Title
	 */
	public String getFullTitle ()
	{
		return "Full Sub.";
	}

	/**
	 * 
	 * @return Business Full Title
	 */
	public String getBusinessFullTitle ()
	{
		return "Business Full Sub.";
	}

	// ****************************************************************************************************************************
	// IVisitable methods
	// ****************************************************************************************************************************
	@Override
	public JPanel acceptVisit ( IVisitor visitor )
	{
		return visitor.visit(this);
	}
}
